package com.ruoyi.system.domain;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 学校入驻信息对象 sys_dept_join
 * 
 * @author WJH
 * @date 2022-08-02
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class SysDeptJoin
{
    private static final long serialVersionUID = 1L;
    /** 入驻信息主键 */
    @TableField(exist = true)
    @TableId(type= IdType.AUTO)
    @ApiModelProperty(value =  "不用前端传")
    private Long deptJoinId;

    /** 申请人姓名 */
    @com.ruoyi.common.core.annotation.Excel(name = "申请人姓名")
    @TableField(exist = true)
    @ApiModelProperty(value =  "申请人姓名")
    private String applicant;

    /** 电话号码 */
    @com.ruoyi.common.core.annotation.Excel(name = "电话号码")
    @TableField(exist = true)
    @ApiModelProperty(value =  "电话号码")
    private String phoneNumber;

    /** 机构名称 */
    @com.ruoyi.common.core.annotation.Excel(name = "机构名称")
    @TableField(exist = true)
    @ApiModelProperty(value =  "机构名称")
    private String deptName;

    /** 需求描述 */
    @com.ruoyi.common.core.annotation.Excel(name = "需求描述")
    @TableField(exist = true)
    @ApiModelProperty(value =  "需求描述")
    private String description;

    /** 创建时间 */
    @com.ruoyi.common.core.annotation.Excel(name = "创建时间")
    @TableField(exist = true)
    @ApiModelProperty(value =  "不用前端传")
    private Long createTime;

    public static final String DEPT_JOIN_ID="dept_join_id";
    public static final String APPLICANT="applicant";
    public static final String PHONE_NUMBER="phone_number";
    public static final String DEPT_NAME="dept_name";
    public static final String DESCRIPTION="description";
    public static final String CREATE_TIME="create_time";

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deptJoinId", getDeptJoinId())
            .append("applicant", getApplicant())
            .append("phoneNumber", getPhoneNumber())
            .append("deptName", getDeptName())
            .append("description", getDescription())
            .append("createTime", getCreateTime())
            .toString();
    }
}
